package com.wyl.showtype.basic.table;

import com.wyl.showtype.ShowType;
import com.wyl.showtype.basic.table.vo.TableHeaderVo;

import java.util.List;

/**
 * @author 吴宇亮 on 2023/4/21 10:47
 */
public class TableVo<T> implements ShowType {

    private List<TableHeaderVo> headers;

    private List<T> contents;

    public List<TableHeaderVo> getHeaders() {
        return headers;
    }

    public TableVo<T> setHeaders(List<TableHeaderVo> headers) {
        this.headers = headers;
        return this;
    }

    public List<T> getContents() {
        return contents;
    }

    public TableVo<T> setContents(List<T> contents) {
        this.contents = contents;
        return this;
    }
}
